%transition {
    @include transition(all 0.3s ease);
}
a, .form-control, button {
    @extend %transition;
}

%animatedMQ {
   @include transition(all .5s linear);
}

// MENU RESPONSIVE
.cbp-spmenu {
    background: $main-color;
    position: fixed;
}

.cbp-spmenu h3 {
    color: #afdefa;
    font-size: 1.9em;
    padding: 20px;
    margin: 0;
    font-weight: 300;
    background: #0d77b6;
}

.cbp-spmenu a {
    display: block;
    color: #fff;
    font-size: 1.1em;
    font-weight: 400;
    text-transform: uppercase;
}

.cbp-spmenu a:hover {
    background: darken($main-color, 5%);
}

.cbp-spmenu a:active {
    background: darken($main-color, 5%);
    color: #fff;
}

/* Orientation-dependent styles for the content of the menu */

.cbp-spmenu-vertical {
    width: 240px;
    height: 100%;
    top: 65px;
    z-index: 1000;
}

.cbp-spmenu-vertical a {
    border-bottom: 1px solid darken($main-color, 10%);;
    padding: 1em;
}

.cbp-spmenu-horizontal {
    width: 100%;
    height: 150px;
    left: 0;
    z-index: 1000;
    overflow: hidden;
}

.cbp-spmenu-horizontal h3 {
    height: 100%;
    width: 20%;
    float: left;
}

.cbp-spmenu-horizontal a {
    float: left;
    width: 20%;
    padding: 0.8em;
    border-left: 1px solid #258ecd;
}
.cbp-spmenu-left {
    left: -240px;
}
.cbp-spmenu-left.cbp-spmenu-open {
    left: 0px;
}
.cbp-spmenu,
.cbp-spmenu-push {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

// HEADER CONTAINER
.header-container {
    background-color: #FFF;
    @include box-shadow(0 1px 3px rgba(0, 0, 0, 0.06));
    @include respond-to(970) {
        position: fixed;
        width: 100%;
        z-index: 9999;
        top: 0;
        left: 0;
    }
    .container {
        height: 65px;
        display: table;
        .inner {
            display: table-cell;
            vertical-align: middle;
            @include respond-to(970) {
                text-align: center;
            }
            > * {
                @include inline-block;
            }
        }
    }
    .btn-responsive {
        position: absolute;
        left: 15px;
        display: none !important;
        @include respond-to(970) {
            display: block !important;
        }
    }
    .menu-horizontal {
        margin-left: 60px;
        margin-top: 9px;
        @include respond-to(970) {
            display: none !important;
        }
        li {
            float: left;
            margin-left: 40px;
            &:first-child {
                margin-left: 0;
            }
            a {
                text-transform: uppercase;
                font-weight: 600;
                position: relative;
                color: $body-color;
                @extend %transition;
                .icon-arrow-down {
                    position: absolute;
                    bottom: -4px;
                    left: 50%;
                    margin-left: -4px;
                    @extend %transition;
                    @include opacity(0);
                }
                &:hover, &.active {
                    color: $main-color;
                    .icon-arrow-down {
                        @include opacity(1);
                        bottom: -10px;
                    }
                }
                &.menu-item-home:hover .icon-fl, &.active .icon-fl {
                    @include icon-sprite(icon-home-hover);
                }
                &.menu-item-supermarket:hover .icon-fl {
                    @include icon-sprite(icon-supermarket-hover);
                }
                &.menu-item-price:hover .icon-fl {
                    @include icon-sprite(icon-price-hover);
                }
                &.menu-item-lookup:hover .icon-fl {
                    @include icon-sprite(icon-lookup-hover);
                }
            }
        }
    }
    .btn-create {
        float: right;
        padding: 8px 10px;
        text-transform: uppercase;
        color: #fff;
        font-weight: 600;
        background-color: $main-color;
        @include border-radius(3px);
        @include respond-to(970) {
            position: absolute;
            right: 15px;
        }
        @include respond-to(480) {
            display: none !important;
        }
        &:hover {
            background-color: $sub-color;
            .icon-create {
                @include icon-sprite(icon-create-hover);
            }
        }
    }
}

// BANNER
.banner {
    width: percentage(721 / 970);
    margin-right: percentage(26 / 970);
    float: left;
    height: image-height("banner.jpg");
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    background: image-url("banner.jpg") no-repeat top center;
    @include background-size(cover);
    @include respond-to(800) {
        float: none;
        width: 100%;
        margin-right: 0;
    }
    .view {
        display: block;
        width: 100px;
        height: 100px;
        position: absolute;
        right: -30px;
        bottom: -30px;
        @include border-radius(50%);
        background-color: #FFB400;
        .icon-arrow-right-lg {
            position: absolute;
            top: 30px;
            left: 30px;
        }
        &:hover {
            background-color: $main-color;
        }
    }
}

// BOX REGISTER
.box-register {
    width: percentage(223 / 970);
    float: right;
    margin-top: 20px;
    background-color: #FFF;
    border: 1px solid $border-color;
    border-top: 2px solid $sub-color;
    padding: 15px;
    @include respond-to(800) {
        width: 100%;
        float: none;
    }
    .form-register {
        .wrap-input-captcha {
            .captcha {
                line-height: 31px;
                font-size: 14px;
            }
            .form-control {
                width: 75%;
                float: right;
            }
        }
        .btn-submit {
            display: inline-block;
            width: 100%;
            padding: 9px 0;
            @include respond-to(800) {
                display: block;
                width: 200px;
                margin: auto;
            }
            @include respond-to(320) {
                width: 100%;
            }
        }
    }
}

// BOX WEBSITE MUCH REGISTER
.box-hightlight {
    background-color: #FFF;
    border: 1px solid $border-color;
    margin-top: 20px;
    overflow: hidden;
    .col-left {
        width: percentage(223 / 970);
        float: left;
        @include respond-to(800) {
            width: 100%;
            float: none;
        }
    }
    .inner {
        height: 167px;
        display: table;
        @include respond-to(800) {
            width: 100%;
            height: auto;
        }
        .title {
            display: table-cell;
            vertical-align: middle;
            font-size: 16px;
            text-align: center;
            padding: 0 40px 0 15px;
            @include respond-to(800) {
                padding: 15px 0 0;
            }
        }
    }
    .col-right {
        width: percentage(690 / 970);
        position: relative;
        margin: 20px 0;
        margin-left: 15px;
        float: left;
        @include respond-to(800){
            margin-left: 0;
            float: none;
            margin: 20px auto;
        }
    }
    .bg-slide-left, .bg-slide-right {
        position: absolute;
        z-index: 1;
        left: -10px;
        top: -11px;
        @include respond-to(600){
            top: 3px;
        }
        @include respond-to(480){
            top: 50px;
        }
    }
    .bg-slide-right {
        left: auto;
        right: -10px;
    }
    .owl-carousel {
        .item-inner {
            padding: 0 10px;
            img {
                width: 100%;
                height: 125px;
                @extend %animatedMQ;
                @include respond-to(600){
                    height: 147px;
                }
                @include respond-to(480){
                    height: 241px;
                }
            }

        }
    }
}

// WRAP HEADING NEW DESIGN, FORM SEARCH
.wrap-heading-new-design {
    margin-top: 13px;
    .title {
        float: left;
        padding-top: 5px;
        @include respond-to(480) {
            float: none;
        }
    }
    .form-search {
        float: right;
        @include respond-to(480) {
            float: none;
            margin-top: 10px;
        }
        .group-form-control {
            width: 325px;
            position: relative;
            @include respond-to(480) {
                width: 100%;
            }
        }
        .form-control {
            width: 100%;
            padding: 8px 17px;
            @include border-radius(30px);
            margin-bottom: 0;
        }
        button {
            position: absolute;
            right: 6px;
            top: 7px;
        }
    }
}

// BOX LIST ITEM MENU
.box-list-item {
    background-color: #FFF;
    border: 1px solid $border-color;
    padding: 5px 10px 10px;
    margin-top: 13px;
    ul {
        li {
            @include inline-block;
            margin-top: 5px;
            a {
                font-size: 12px;
                padding: 0 8px;
                border-bottom: 2px solid transparent;
                background: image-url("bg-li-item.png") no-repeat left top 7px;
                &:hover, &.active {
                    color: #f54325;
                    border-bottom-color: #F54325;
                }
            }
        }
    }
}

// BOX LIST PRODUCT PREVIEW
.box-list-preview {
    margin-top: 22px;
    ul {
        overflow: hidden;
        li {
            float: left;
            width: percentage(223 / 970);
            margin-right: percentage(26 / 970);
            margin-bottom: 25px;
            overflow: hidden;
            &:nth-child(4n) {
                margin-right: 0;
            }
            .wrap-image {
                position: relative;
            }
            img {
                width: 100%;
                height: 165px;
                @extend %animatedMQ;
            }
            .icon-view {
                position: absolute;
                bottom: 0;
                right: -20px;
                margin-right: 0;
                @extend %transition;
            }
            h4 {
                padding: 11px 13px;
                background-color: #FFF;
                color: #000;
                font-size: 12px;
                font-weight: 600;
                @extend %transition;
            }
            &:hover {
                .icon-view {
                    right: 0;
                }
                h4 {
                    background-color: #ffc600;
                }
            }
            @include respond-to(800) {
                width: 32%;
                margin-right: 2%;
                &:nth-child(4n) {
                    margin-right: 2%;
                }
                &:nth-child(3n) {
                    margin-right: 0;
                }
                img {
                    height: 175px;
                }
            }
            @include respond-to(600) {
                width: 48%;
                margin-right: 4%;
                &:nth-child(3n) {
                    margin-right: 4%;
                }
                &:nth-child(4n), &:nth-child(2n) {
                    margin-right: 0;
                }
                img {
                    height: 202px;
                }
            }
            @include respond-to(480) {
                img {
                    height: 160px;
                }
            }
            @include respond-to(320) {
                width: 100%;
                margin-right: 0;
                img {
                    height: 215px;
                }
            }
        }
    }
}

// LOADING
.loading {
    background: image-url("bg-line-loading.jpg") repeat-x center center;
    .inner {
        background-color: #f6f6f6;
        width: 44px;
        margin: auto;
        img {
            display: block;
            width: 32px;
            height: 32px;
            margin: auto;
        }
    }
}

// BOX NEWS
.box-list-news {
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    .col-left, .col-right {
        width: percentage(472 / 970);
        float: left;
        @include respond-to(600) {
            width: 100%;
            float: none;
        }
    }
    .col-right {
        float: right;
        @include respond-to(600) {
            margin-top: 30px;
        }
    }
    .icon-calendar {
        margin-top: 3px;
    }
    .list-news {
        li {
            margin-top: 22px;
            .wrap-img {
                float: left;
            }
            .content-detail {
                margin-left: 137px;
            }
            @include respond-to(320) {
                .wrap-img {
                    float: none;
                    img {
                        width: 100%;
                        height: auto;
                    }
                }
                .content-detail {
                    margin-left: 0;
                    margin-top: 10px;
                }
            }
            .news-title {
                a {
                    font-size: 14px;
                    font-weight: 600;
                    color: #000;
                    &:hover {
                        color: $main-color;
                    }
                }
            }
            .news-date, .news-content-brief {
                margin-top: 7px;
            }
        }
    }
}

// BREADCRUM
.breadcrumb {
    margin: 15px 0;
    font-size: 12px;
    li {
        @include inline-block;
        a {
            color: #000;
            padding-right: 12px;
            margin-right: 8px;
            background: image-url("bg-breadcrum.png") no-repeat right top 6px;
            &:hover {
                color: $main-color;
            }
        }
        span {
            color: #8f8f8f;
        }
    }
}

// BANNER TRANG Banggia.html
.banner-2 {
    background: image-url("banner-1.jpg") no-repeat center center;
    width: 100%;
    height: image-height("banner-1.jpg");
    border-top: 1px solid #E9E9E9;
    margin-top: 25px;
    .content-banner {
        width: 300px;
        height: 300px;
        overflow: hidden;
        margin: 23px auto 0;
        padding: 5px;
        background-color: rgba(white, 0.37);
        @include border-radius(50%);
        .inner {
            width: 100%;
            height: 100%;
            background-color: rgba(#0281c4, 0.75);
            @include border-radius(50%);
            text-align: center;
            color: #fff;
            padding: 30px 20px;
            h5 {
                font-size: 16px;
                font-weight: 600;
                padding: 15px 0;
            }
            p {
                font-size: 12px;
                line-height: 18px;
            }
        }
    }
}

// PACKAGE WEBSITE
.package {
    width: percentage(856 / 970);
    margin: 100px auto 0;
    position: relative;
    &.first {
        margin-top: 10px;
    }
    h3 {
        padding: 15px 0 15px 47px;
        font-size: 18px;
        font-weight: bold;
        color: #000;
        border-bottom: 4px solid #ff7800;
        @extend %animatedMQ;
    }
    .number {
        color: #fff;
        font-weight: bold;
        width: 29px;
        height: 29px;
        text-align: center;
        line-height: 29px;
        font-size: 18px;
        background-color: #FF7800;
        @include border-radius(50%);
        position: absolute;
        top: 36px;
        left: 0;
    }
    &.right {
        .number {
            right: 0;
            left: auto;
        }
    }
    .price {
        color: #fff;
        width: 228px;
        height: 228px;
        background-color: #FF7800;
        @include border-radius(50%);
        position: absolute;
        top: -70px;
        right: 0;
        z-index: 1;
        text-align: center;
        display: table;
        @extend %animatedMQ;
        .inner {
            display: table-cell;
            vertical-align: middle;
            > p {
                line-height: 24px;
                padding: 0 5px;
            }
        }
    }
    &.right {
        .price {
            left: -57px;
        }
    }
    .package-content {
        padding: 15px 0 0 47px;
        overflow: hidden;
        font-size: 14px;
        line-height: 24px;
        @extend %animatedMQ;
        ul {
            width: 40%;
            float: left;
            &:first-child {
                margin-right: 20px;
            }
            li {
                color: #010101;
                line-height: 24px;
            }
        }
    }
    @include respond-to(970){
        width: 100%;
        text-align: center;
        margin-top: 50px;
        &.first {
            margin-top: 30px;
        }
        h3 {
            border-bottom: none;
            margin-bottom: 20px;
            padding: 0 !important;
            line-height: 24px;
        }
        .number {
            display: none;
        }
        .price {
            position: static;
            margin: auto;
        }
        .package-content {
            margin-top: 20px;
            padding: 0 !important;
            ul {
                width: 100%;
                float: none;
            }
            p {
                padding: 0 !important;
            }
        }
    }
}

// PACKAGE 1
.package-1 {
    margin-top: 10px;
    .text-01 {
        font-size: 18px;
    }
    .text-02, .text-04 {
        font-size: 34px;
        font-weight: bold;
        line-height: 43px !important;
    }
    .text-03, .text-05 {
        font-size: 14px;
    }
}

// PACKAGE 2
$package-color-2: #00a2e3;

.package-2 {
    h3 {
        border-bottom-color: #00a2e3;
    }
    .number, .price {
        background-color: $package-color-2;
    }
    .price {
        width: 250px;
        height: 250px;
    }
    h3, .package-content {
        padding-left: 230px;
    }
    .text-01 {
        font-size: 18px;
    }
    .text-02, .text-04 {
        font-size: 34px;
        font-weight: bold;
        line-height: 43px !important;
    }
    .text-03, .text-05 {
        font-size: 14px;
    }
}

// PACKAGE 3
$package-color-3: #76b92b;

.package-3 {
    h3 {
        border-bottom-color: $package-color-3;
    }
    .number, .price {
        background-color: $package-color-3;
    }
    .price {
        width: 286px;
        height: 286px;
        right: -56px;
        top: -100px;
    }
    .text-01 {
        font-size: 22px;
    }
    .text-02, .text-04 {
        font-size: 42px;
        font-weight: bold;
        line-height: 60px !important;
    }
    .text-03, .text-05 {
        font-size: 17px;
    }
}

// PACKAGE 4
$package-color-4: #fcbd16;

.package-4 {
    h3 {
        border-bottom-color: $package-color-4;
    }
    .number, .price {
        color: #000;
        background-color: $package-color-4;
    }
    h3, .package-content {
        padding-left: 230px;
    }
    .price {
        width: 260px;
        height: 260px;
    }
    .text-01 {
        font-size: 19px;
    }
    .text-02 {
        font-size: 36px;
        font-weight: bold;
        line-height: 60px !important;
    }
    .text-03, .text-05 {
        font-size: 14px;
        span {
            font-size: 30px;
            font-weight: bold;
        }
    }
    .text-04 {
        font-size: 24px;
        font-weight: bold;
    }
    .package-content p {
        padding-right: 40px;
    }
}

// BOX CONSULTING
.box-consulting {
    background-color: #fdf6ca;
    margin-top: 30px;
    .container {
        padding: 60px 0 35px;
        text-align: center;
        position: relative;
        @include respond-to(970){
            padding-left: 15px;
            padding-right: 15px;
        }
        p {
            font-size: 18px;
            font-weight: 700;
            line-height: 24px;
            padding: 5px 0;
        }
        .btn-consulting {
            @include inline-block;
            text-transform: uppercase;
            color: #fff;
            background-color: #ff7800;
            padding: 15px 25px;
            font-size: 18px;
            font-weight: 700;
            @include border-radius(3px);
            margin-top: 30px;
            &:hover {
                background-color: darken(#ff7800, 5%);
            }
            @include respond-to(480){
                line-height: 24px;
            }
        }
        .img-consulting {
            position: absolute;
            bottom: -41px;
            left: 20px;
            z-index: 1;
            @include respond-to(970){
                display: none;
            }
        }
    }
}

.main-content {
    width: percentage(638 / 970);
    float: left;
    margin-bottom: 20px;
    @include respond-to(800){
        width: 100%;
        float: none;
    }
}

.sidebar {
    width: percentage(306 / 970);
    float: right;
    @include respond-to(800){
        width: 100%;
        float: none;
    }
}

// ITEM PREVIEW
.item-preview {
    .item-preview-img {
        img {
            border: 1px solid #454545;
            width: 100%;
            height: auto;
        }
    }
    .item-preview-wrap-btn {
        text-align: center;
        border: 1px solid $border-darker-color;
        border-top: none;
        background-color: #fff;
        padding: 18px 0;
        min-width: 140px;
        .btn-dark {
            font-size: 14px;
            &:first-child {
                margin-right: 11px;
            }
        }
    }
}

.item-description {
    margin-top: 10px;
    p {
        padding: 5px 0;
        line-height: 22px;
    }
    ul {
        li {
            margin-top: 25px;
            overflow: hidden;
            .wrap-img {
                width: 200px;
                height: 139px;
                border: 1px solid $border-darker-color;
                background-color: #fff;
                display: table;
                float: left;
                @include transition(height .5s linear);
                span {
                    display: table-cell;
                    vertical-align: middle;
                    text-align: center;
                }
                @include respond-to(800) {
                    width: 100%;
                    height: 150px;
                    float: none;
                }
            }
            .wrap-content {
                margin-left: 220px;
                > h4 {
                    text-transform: uppercase;
                    font-weight: 600;
                }
                > p {
                    line-height: 18px;
                    padding-top: 10px;
                }
                @include respond-to(800) {
                    margin-left: 0;
                    > h4 {
                        margin-top: 10px;
                    }
                }
            }
        }
    }
}

.note-reg-buy {
    font-size: 14px;
    margin-bottom: 15px;
}

// ACCORDION
.accordion {
    margin-bottom: 20px;
    .wrap-dis-tab {
        display: table;
        width: 100%;
    }
    .heading {
        cursor: pointer;
        .wrap-dis-tab {
            height: 40px;
        }
        border: 1px solid $border-darker-color;
        background-color: #FFC600;
        .title, .wrap-icon {
            display: table-cell;
            vertical-align: middle;
        }
        .title {
            text-align: left;
            padding-left: 16px;
            font-size: 14px;
        }
        .wrap-icon {
            text-align: right;
            padding-right: 8px;
        }
        @extend %transition;
        &.active {
            background: none;
            .icon-closed {
                @include icon-sprite(icon-opened);
            }
        }
    }
    .content {
        .inner {
            padding: 20px;
            border-left: 1px solid $border-darker-color;
            border-right: 1px solid $border-darker-color;
        }
        .description {
            font-size: 12px;
        }
        .wrap-dis-tab {
            margin-top: 20px;
            .price, .wrap-btn {
                display: table-cell;
                vertical-align: middle;
            }
            .price {
                font-size: 40px;
                font-weight: bold;
                text-align: left;
            }
            .wrap-btn {
                text-align: right;
            }
            .btn-reg-buy {
                font-size: 14px;
            }
        }
        &.last {
            .inner {
                border-bottom: 1px solid $border-darker-color;
            }
        }
    }
}

// STATS
.stats {
    border: 1px solid $border-darker-color;
    background-color: #fff;
    overflow: hidden;
    .stats-buy, .stats-comment {
        width: 50%;
        padding: 16px 0 20px 25px;
        float: left;
        i {
            margin-bottom: 15px;
        }
        p {
            font-size: 12px;
            span {
                font-size: 30px;
                font-weight: bold;
                padding-right: 5px;
            }
        }
    }
    .stats-buy {
        border-right: 1px solid $border-darker-color;
    }
}

// SOCIAL LIKE
.social-like {
    background-color: #ececec;
    border: 1px solid $border-darker-color;
    border-top: none;
    margin-bottom: 20px;
}

// OTHER THEME
.box-list-preview.other-theme {
    margin-top: 18px;
    ul li {
        width: 100%;
        img {
            height: 193px;
        }
        @include respond-to(800) {
            width: 48%;
            margin-left: 4%;
            margin-right: 0;
            &:first-child {
                margin-left: 0;
            }
            img {
                height: 223px;
            }
        }
        @include respond-to(480) {
            img {
                height: 136px;
            }
        }
        @include respond-to(320) {
            width: 100%;
            margin-left: 0;
            img {
                height: 183px;
            }
        }
    }
}

// PAGE WEB SUPERMARKET
.page-web-supermarket {
    .sidebar {
        width: percentage(223/970);
        float: left;
        @include respond-to(970) {
            display: none;
        }
    }
    .main-content {
        width: percentage(721/970);
        float: right;
        margin-top: 15px;
        @include respond-to(970) {
            width: 100%;
            float: none;
        }
    }
}

// TAG SEARCH MORE
.search-more {
    border: 1px solid #dfdfdf;
    background-color: #FFF;
    .heading {
        padding: 15px;
        border-bottom: 1px solid #dfdfdf;
        position: relative;
        > h3 {
            font-size: 14px;
            font-weight: 600;
        }
        &:after, &:before {
            content: "";
            position: absolute;
        }
        &:before {
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid #fff;
            bottom: -7px;
            left: 17px;
            width: 0;
            height: 0;
        }
        &:after {
            width: 10px;
            height: 10px;
            border-bottom: 1px solid $border-color;
            border-left: 1px solid $border-color;
            @include transform(rotate(-45deg));
            bottom: -6px;
            left: 20px;
        }
    }
    ul {
        padding: 15px 0 0 10px;
        li {
            display: inline;
            a {
                margin-right: 8px;
                margin-bottom: 10px;
                color: #141414;
                padding: 3px 5px;
                border: 1px solid $main-color;
                font-size: 12px;
                font-weight: 600;
                @include inline-block;
                @include border-radius(3px);
                &:hover {
                    color: $main-color;
                }
                > i {
                    margin-left: 5px;
                    margin-top: -2px;
                }
            }
        }
    }
}

// WRAP FORM SEARCH
.wrap-form-search {
    background-color: $main-color;
    padding: 11px;
    margin-top: 22px;
    .form-search {
        position: relative;
        border-bottom: 2px solid #fff;
        padding: 5px;
        .form-control {
            width: 100%;
            background: transparent;
            border: none;
            color: #fff;
            padding: 2px 5px;
            border-left: 1px solid rgba(#fff, 0.7);
            @include box-sizing(border-box);
            @include placeholder {
                color: rgba(#fff, 0.7);
                font-size: 12px;
            }
        }
        &:before, &:after {
            content: "";
            position: absolute;
            bottom: 0;
            width: 1px;
            height: 3px;
            background-color: #FFF;
        }
        &:before {
            left: 0;
        }
        &:after {
            right: 0;
        }
        button {
            position: absolute;
            right: 6px;
            top: 7px;
        }
    }
}

// MENU STATS
.menu-stats {
    padding: 17px 10px 20px 17px;
    background-color: #FFF;
    border: 1px solid #DFDFDF;
    margin-bottom: 20px;
    > p {
        font-size: 14px;
        font-weight: 600;
        margin-left: -4px;
    }
    ul {
        border-left: 1px solid #A9A9A9;
        padding-top: 10px;
        li {
            margin: 3px 0;
            a {
                display: block;
                overflow: hidden;
                font-size: 12px;
                color: #141414;
                position: relative;
                padding-left: 10px;
                .left {
                    padding: 4px 3px;
                    font-weight: 600;
                    @include transition(background-color .4s ease);
                }
                .right {
                    margin-top: 5px;
                }
                &:hover, &.active {
                    .left {
                        background-color: $main-color;
                        color: #fff;
                    }
                }
                &:before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 14px;
                    width: 6px;
                    height: 1px;
                    background-color: #A9A9A9;
                }
            }
        }
    }
}

// Selectbox
.form-filter {
    float: left;
    @extend %animatedMQ;
    > * {
        @include inline-block;
    }
    > label {
        margin-right: 10px;
        font-size: 14px;
        font-weight: 600;
    }
    @include respond-to(480) {
        float: none;
        text-align: center;
    }
}
.pagination {
    float: right;
    margin-top: 5px;
    @extend %animatedMQ;
    @include respond-to(480) {
        float: none;
        text-align: center;
        margin-top: 15px;
    }
    li {
        @include inline-block;
        a, span {
            color: #5b5b5b;
            padding: 1px 5px;
            font-size: 12px;
            @include inline-block;
            @include border-radius(3px);
            &:hover {
                color: #ed3237;
            }
        }
        &.active {
            a, span {
                color: #ed3237;
            }
        }
        &.prev {
            a, span {
                background-color: #D5D5D5;
                color: #000;
                &:hover {
                    background-color: darken(#D5D5D5, 5%);
                }
            }
        }
        &.next {
            a, span {
                background-color: $main-color;
                color: #fff;
                &:hover {
                    background-color: darken($main-color, 5%);
                }
            }
        }
    }
}

.box-list-preview.web-supermarket {
    ul li {
        width: percentage(223/721);
        margin-right: percentage(26/721);
        &:nth-child(4n) {
            margin-right: percentage(26/721);
        }
        &:nth-child(3n) {
            margin-right: 0;
        }
        @include respond-to(600) {
            width: 48%;
            margin-right: 4%;
            &:nth-child(4n) {
                margin-right: 0;
            }
            &:nth-child(3n) {
                margin-right: 4%;
            }
            &:nth-child(2n) {
                margin-right: 0;
            }
        }
        @include respond-to(320){
            width: 100%;
            margin-right: 0;
        }
    }
}

.header-view-demo-theme {
    background-color: #333;
    padding: 12px 0 12px 15px;
    position: relative;
    overflow: hidden;
    .wrap-logo {
        float: left;
    }
    .btn-contact-buy {
        float: right;
        color: #fff;
        padding: 5px 10px;
        background-color: #66b304;
        margin-right: 30px;
        @include border-radius(2px);
        &:hover {
            background-color: darken(#66b304, 5%);
        }
    }
    .icon-close-theme {
        position: absolute;
        top: 0;right: 0;
        margin-right: 0;
    }
}
#theme-live-demo {
    width: 100%;
    margin: 0;
    padding: 0;
    float: left;
}
body.page-view-demo-image {
    background-color: #333;
}
.thumbnails {
    padding: 25px;
    a {
        img {
            border: 1px solid #454545;
            margin-right: 18px;
            vertical-align: top;
            @extend %transition;
            &:hover {
                border-color: #747474;
            }
        }
    }
}
.detail {
    padding: 25px;
    .description {
        font-size: 32px;
        color: #fff;
        text-align: center;
        text-transform: uppercase;
        font-weight: 700;
    }
    .view-fullsize {
        img {
            border: 1px solid #454545;
            display: block;
            margin: 25px auto;
        }
    }
}


// FOOTER
#footer-container {
    color: #999999;
    font-size: 12px;
}
// TOP FOOTER
.top-footer-container {
    background-color: #474747;
    @include respond-to(480){
        display: none;
    }
    ul {
        text-align: center;
        padding: 10px 0;
        li {
            @include inline-block;
            &:first-child {
                a {
                    border-left: none;
                }
            }
            a {
                color: #B9B9B9;
                font-size: 13px;
                padding: 0 17px;
                border-left: 1px solid #656565;
                &:hover, .active {
                    color: #fff;
                }
            }
        }
    }
}
// MIDDLE FOOTER
.middle-footer-container {
    background-color: #333;
    padding: 25px 0;
    @include respond-to(480){
        display: none;
    }
    .container {
        overflow: hidden;
    }
    .col {
        width: percentage(223 / 970);
        margin-left: percentage(26 / 970);
        float: left;
        &:first-child {
            margin-left: 0;
        }
        @include respond-to(800) {
            width: 48%;
            margin-left: 4%;
            &:nth-child(3) {
                margin-left: 0;
            }
            &:nth-last-child(n + 3) {
                margin-bottom: 20px;
            }
        }
        .heading {
            height: 40px;
            .title {
                color: #e6e6e6;
                font-size: 14px;
                font-weight: 400;
            }
        }
    }
    .col-second {
        li {
            line-height: 24px;
            a {
                color: #999999;
                &:hover {
                    color: #fff;
                }
            }
        }
    }
    .col-third {
        p {
            line-height: 24px;
            span {
                color: #fff;
            }
            a {
                color: $sub-color;
                &:hover {
                    color: $main-color;
                }
            }
        }
    }
    .list-icon-social {
        padding-top: 10px;
        li {
            @include inline-block;
            margin-left: 5px;
            &:first-child {
                margin-left: 0;
            }
        }
    }
    .col-fourth {
        .support {
            width: 100%;
            height: 70px;
            color: #fff;
            text-transform: uppercase;
            i {
                margin: 10px 0 10px 10px;
            }
            &.online {
                background-color: #82b440;
                border: 3px solid #74A238;
                margin-bottom: 14px;
            }
            &.hotline {
                background-color: #F47D49;
                border: 3px solid #e67443;
            }
            .wrap-text {
                padding: 7px 10px 0 0;
            }
            p {
                text-align: center;
                line-height: 24px;
            }
            .text-sm {
                color: #e6e6e6;
                font-size: 14px;
                font-weight: 400;
            }
            .text-md {
                font-size: 22px;
                font-weight: 600;
            }
        }
    }
}
// BOTTOM FOOTER
.bottom-footer-container {
    background-color: #232323;
    padding: 15px 0;
    overflow: hidden;
    .copyright {
        float: left;
        a {
            color: $main-color;
            &:hover {
                color: #fff;
            }
        }
    }
    .icon-back-to-top {
        margin-right: 0;
        margin-left: 5px;
    }
    .back-to-top {
        float: right;
        color: #999999;
        &:hover {
            .icon-back-to-top {
                @include icon-sprite(icon-back-to-top-hover);
            }
        }
    }
}

// RESPONSIVE
@media (min-width: 1200px) {}

@media (max-width: 1024px) {}
@media (max-width: 970px) {
    #main {
        padding-top: 65px;
    }
}

@media (max-width: 800px) {}

@media (max-width: 600px) {
    .owl-buttons > div {
        top: 65px !important;
    }
}

@media (max-width: 480px) {
    @include sticky-footer(51px, "#wrapper", "#push", "#footer-container");
    .owl-buttons > div {
        top: 115px !important;
    }
    .back-to-top span {
        display: none;
    }
    .text-hide-rwd {
        display: none;
    }
}

@media (max-width: 320px) {
    .title-lg .title-sm {
        display: block;
    }
}